from scrapy import cmdline

cmdline.execute(["scrapy", "crawl", "answer"])
# cmdline.execute(["scrapy", "crawl", "doctor",'-s', 'LOG_FILE=log.log'])
